GBML manual / Constants

SHAPE_22_FLOOR_UP_RIGHT_2

A 22.5 degree slope: floor rising to the right, piece 2 of 2.

Syntax

SHAPE_22_FLOOR_UP_RIGHT_2: constant

Description

A 22.5 degree slope: floor rising to the right. It is the number 6. It is piece 2 of 2 of the slope: the pieces go one after the other, and each starts as high as the one before it ended. Piece 1 has the least solid. The Slopes page shows how the shapes join.

......##
....####
..######
########
########
########
########
########

In the picture, the characters # are solid pixels and the dots are open ones.

Example

tile_set_shape(x, y + 8, SHAPE_22_FLOOR_UP_RIGHT_2);

Gives the square just under the walker this slope.

See also: tile_shapetile_set_shapeSlopesSHAPE_22_FLOOR_UP_RIGHT_1